projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f86dc16
)
Suppress frequent device assertions
author
John Ralls
<jralls@ceridwen.us>
Thu, 10 Oct 2013 22:24:43 +0000
(15:24 -0700)
committer
John Ralls
<jralls@ceridwen.us>
Thu, 10 Oct 2013 22:37:27 +0000
(15:37 -0700)
Because send crossing event is usually called with a NULL source_device in quartz.
gdk/gdkwindow.c
patch
|
blob
|
history
diff --git
a/gdk/gdkwindow.c
b/gdk/gdkwindow.c
index f096101015db97598fcb04167945aaeaf6e4eadf..6d2bd68f611831c571950fc264e95f4dc7c3208a 100644
(file)
--- a/
gdk/gdkwindow.c
+++ b/
gdk/gdkwindow.c
@@
-7477,6
+7477,7
@@
send_crossing_event (GdkDisplay *display,
if (type == GDK_ENTER_NOTIFY &&
(pointer_info->need_touch_press_enter ||
+ source_device &&
gdk_device_get_source (source_device) == GDK_SOURCE_TOUCHSCREEN) &&
mode != GDK_CROSSING_TOUCH_BEGIN &&
mode != GDK_CROSSING_TOUCH_END)